#!/bin/sh

 ./configure --target-os=linux \
   --enable-version3 \
   --enable-gpl \
   --enable-nonfree \
   --disable-doc \
   --disable-stripping \
   --disable-ffplay \
   --disable-ffprobe \
   --disable-encoders \
   --disable-decoders \
   --enable-decoder=h264 \
   --enable-decoder=aac \
   --enable-decoder=amrnb \
   --enable-decoder=rawvideo \
   --enable-decoder=pcm_s16le \
   --enable-encoder=libx264 \
   --enable-encoder=libfdk_aac \
   --enable-encoder=libopencore_amrnb \
   --enable-libfdk-aac \
   --enable-libopencore-amrnb \
   --disable-parsers \
   --enable-parser=h264 \
   --disable-demuxers \
   --enable-demuxer=h264 \
   --enable-demuxer=yuv4mpegpipe \
   --enable-demuxer=pcm_s16le \
   --enable-demuxer=amr \
   --disable-muxers \
   --enable-muxer=h264 \
   --enable-muxer=adts \
   --enable-muxer=amr \
   --disable-devices \
   --disable-protocols \
   --enable-protocol=file \
   --disable-filters \
   --disable-bsfs \
   --enable-avfilter \
   --enable-network \
   --disable-avdevice \
   --extra-cflags="-fPIC -I../x264-pc-install/include -I../fdk-aac-pc-install/include -I../opencore-amr-pc-install/include" \
   --extra-ldflags='-L../x264-pc-install/lib -L../fdk-aac-pc-install/lib -L../opencore-amr-pc-install/lib' \
   --extra-libs='-ldl' \
   --prefix=../lib-pc/ \
   --enable-libx264 \

